<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="js/login.css">
    <title>登录</title>
</head>

<body>
    <div class="box">
        <form action="findLogin.do" method="post">
            <h4>用户登录中心</h4>
            <div class="acc">
                <input type="text" name="phone" placeholder="请输入用户名">
                <input type="password" name="loginPassword" placeholder="请输入密码">
                <input type="text" name="yzm" value="" placeholder="请输入验证码" autocomplete="off">
            </div>
            <div style="text-align: center;">
				<a href="javascript:getVerifiCode()"> <img id="yzm_img"
					style="cursor: pointer; width: 100px; height: 36px; margin: 5px 0 0 5px; border-radius: 3px;"
					title="点击刷新验证码" src="getVerifiCode.do" />
				</a>
			</div>
            
            <!-- <a href="javascript:;" class="btn fff">点击验证</a> -->
            <div class="fn">
                <label for="check"><input id="check" type="checkbox"><span><span></span></span>记住我</label>
                <a href="javascript:;" class="ccc">忘记密码</a>
            </div>
            <div class="login">
                <input type="submit" value="登录" class="fff">
                <span>或</span>
                <a href="javascript:;" class="fff">使用其他登录</a>
            </div>
            <div class="reg">
                <p>还没有账号？
                    <a href="reg.jsp" class="ccc">立即注册</a>
                </p>
            </div>
        </form>
    </div>
</body>
<script type="text/javascript" src="js/jquery-1.12.4.min.js">
</script>
<script type="text/javascript">
function getVerifiCode(){
    $("#yzm_img").prop('src','getVerifiCode.do?a='+new Date().getTime());
}
</script>
</html>

<!-- https://space.bilibili.com/108279272 -->